package org.bangumibuddy.config.property;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jwt")
@Data
public class JwtProperties {

    private long expireTime;

    private String secret;

    private String tokenName;

    private long refreshExpire;

    private String refreshName;

}
